package com.yy.service;

//import com.groupwork.meeting.Mapper.PowerMapper;
//import com.groupwork.meeting.entity.Power;
//import com.groupwork.meeting.service.IPowerService;
//import com.groupwork.meeting.service.ex.*;
import com.yy.mapper.PowerMapper;
import com.yy.pojo.Power;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 鱼凫
 * @version 1.0
 * Create by 2021/11/2 9:17
 * @Description //TODO Power模块业务层实现类
 */
@Component
@Service
public class PowerService  {
    @Autowired
    private PowerMapper powerMapper;


    public List<Power> getPowerByRid(String rid) {
        List<Power> list = powerMapper.powerFoundByRid(rid);
        for (Power power : list){

        }
        return list;
    }


    public List<Power> getPowerByUname(String rid) {
        List<Power> list = powerMapper.powerFoundByUname(rid);
        for (Power power : list){

        }
        return list;
    }
}
